﻿using UnityEngine;
using System.Collections;

public class MovePlane : MonoBehaviour
{
    public float speed = 5.0f;
    private float h;
    void Update()
    {
        h = Input.GetAxis("Horizontal");
        transform.Translate(Vector3.right*h*speed*Time.deltaTime);
    }

}
